package com.rz.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rz.admin.entity.Role;
import com.rz.admin.entity.RoleResource;
import com.rz.admin.entity.vo.DeleteParam;
import com.rz.admin.entity.vo.RoleResReq;

import java.util.List;

public interface IRoleService extends IService<Role> {

    IPage<Role> getPage(Role role);

    boolean batchDelete(DeleteParam deleteParam);

    boolean saveRoleRes(Role role);

    List<RoleResource> getResByRoleId(Integer roleId);

    List<Role> getByCrteAdminId(Integer adminId);
}
